package com.zjinyin.forum.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class ArticleReply {
    private Long id;

    @ApiModelProperty("关联帖子编号")
    private Long articleId;

    @ApiModelProperty("楼主用户, 关联用户编号")
    private Long postUserId;

    @ApiModelProperty("关联回复编号, 楼中楼")
    private Long replyId;

    @ApiModelProperty("楼主下的回复编号")
    private Long replyUserId;

    @ApiModelProperty("回帖内容")
    private String content;

    @ApiModelProperty("回帖点赞数")
    private Integer likeCount;

    @ApiModelProperty("回帖状态")
    private Byte state;

    private Byte deleteState;

    @ApiModelProperty("回帖创建时间")
    private Date createTime;

    @ApiModelProperty("回帖更新时间")
    private Date updateTime;

    @ApiModelProperty("关联用户表")
    private User user;

}